#include <iostream>
#include <vector>

using namespace std;

int main() {
    int N;
    int temp;
    int k{0};
    vector<int> num;
    cin >> N;
    for (int i = 0; i < N; ++i) {
        cin >> temp;
        num.push_back(temp);
    }

    for (int i = 0; i < N; ++i) {
        while (num[i] % 2 == 0) {
            num[i] /= 2;
            ++k;
        }
    }
    cout << k << endl;
    return 0;
}
